// Machine generated IDispatch wrapper class(es) created with ClassWizard
/////////////////////////////////////////////////////////////////////////////
// KDComIAuthority wrapper class

class KDComIAuthority : public COleDispatchDriver
{
public:
	KDComIAuthority() {}		// Calls COleDispatchDriver default constructor
	KDComIAuthority(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	KDComIAuthority(const KDComIAuthority& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	long AddRole(LPCTSTR bstrRoleName, LPCTSTR bstrAdmittanceIPs);
	long UpdateRole(LPCTSTR bstrOriginalRoleName, LPCTSTR bstrNewRoleName, LPCTSTR bstrAdmittanceIPs);
	long DeleteRole(LPCTSTR bstrRoleName);
	long GetRoles(BSTR* pbstrRoles);
	long SetUserGroupDefaultRole(LPCTSTR bstrGroupName, LPCTSTR bstrRoleName);
	long SetUserRole(LPCTSTR bstrGroupName, LPCTSTR bstrRoleName);
};
